package com.paradogs.framework.core.events;

import com.paradogs.framework.common.events.base.AnonEvent;
import com.paradogs.framework.core.msg.PRMsg;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.concurrent.CompletableFuture;

/**
 * @author: yumi
 * @date: 2023/8/17  10:45
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RPCRequestEvent<T> extends AnonEvent {
    private String route;
    private T data;
    private Class<?> returnClass;
    private CompletableFuture<?> promise;
}
